widgetAccuracy = new widget("widgetAccuracy","none","updateAccuracy(~~widget)",1000,"renderAccuracy()","initAccuracy(~~widget)")
//widgetAccuracy.display()

var direction=0;
function initAccuracy(elementID){
   //console.log("Init element Accuracy");
   var element = document.getElementById(elementID);
   element.innerHTML=getAccuracyLevel()+"%";
}

function renderAccuracy(){
	
}

function updateAccuracy(elementID){
   //console.log("Update element Accuracy");
   var element = document.getElementById(elementID);
   element.innerHTML=getAccuracyLevel()+"%";
}
